/**
 * Created by oneminute on 7/9/14.
 */
var lz = require("../lib/utils/modules")();

lz.Config.debug = true;
lz.Config.db.arango.database = "iwant_debug";
lz.Config.logOptions.transports[0].level = "silly";

function check(done, f) {
    try {
        f();
        done();
    } catch (e) {
        console.log(e);
        done(e);
    }
}

exports.check = check;
